/**
 * 
 */
package org.metaverse.h2;

/**
 * @author vjache
 *
 */
public class SenaryEvent {
	
	public static final char CODE_ADD = '+';
	public static final char CODE_REMOVE = '-';
	
	public static final String SUBJ_TYPE_URI = "<";
	public static final String SUBJ_TYPE_BLANK = "[";
	
	public static final String OBJ_TYPE_URI = "<";
	public static final String OBJ_TYPE_LIT_L = "@";
	public static final String OBJ_TYPE_LIT_P = null;
	
	private final String _subject;
	private final String _subjectType;
	private final String _predicate;
	private final String _object;
	private final String _objectType;
	private final String _user;
	private final String _context;
	private final long _lastAssertTime;
	private final char _code;
	
	public SenaryEvent(
			String subject, 
			String subjectType, 
			String predicate,
			String object, 
			String objectType, 
			String user, 
			String context,
			long lastAssertTime, 
			char code) {
		super();
		_subject = subject;
		_subjectType = subjectType;
		_predicate = predicate;
		_object = object;
		_objectType = objectType;
		_user = user;
		_context = context;
		_lastAssertTime = lastAssertTime;
		_code = code;
	}
	/**
	 * @return the subject
	 */
	public final String getSubject() {
		return _subject;
	}
	/**
	 * @return the subjectType
	 */
	public final String getSubjectType() {
		return _subjectType;
	}
	/**
	 * @return the predicate
	 */
	public final String getPredicate() {
		return _predicate;
	}
	/**
	 * @return the object
	 */
	public final String getObject() {
		return _object;
	}
	/**
	 * @return the objectType
	 */
	public final String getObjectType() {
		return _objectType;
	}
	/**
	 * @return the user
	 */
	public final String getUser() {
		return _user;
	}
	/**
	 * @return the context
	 */
	public final String getContext() {
		return _context;
	}
	/**
	 * @return the lastAssertTime
	 */
	public final long getLastAssertTime() {
		return _lastAssertTime;
	}
	/**
	 * @return the code
	 */
	public final char getCode() {
		return _code;
	}
}
